<?php

class Empeval_Methods_Data_Evaluation {
	
	public $id;
	public $order;
	public $weight;
	public $code;
	public $name;
	public $type;
	public $lastModified;
	public $created;
	
	public function __construct(EmpevalEvaluations $evaluation) {
		$this->id = $evaluation->getId();
		$this->order = $evaluation->getDbOrder();
		$this->weight = $evaluation->getWeight();
		$this->code = $evaluation->getCode();
		$this->name = $evaluation->getDesc();
		$this->type = $evaluation->getType();
		$this->lastModified = $evaluation->getLastModified();
		$this->created = $evaluation->getCreated();
	}
	
}